import request from "../utils/request";

export const getAuthMenu = (data: any) => {
    return request({
        url: `/menu/${data}`,
        method: 'get'
    })
}
export const getMenu = (data: any) => {
    return request({
        url: `/menu`,
        method: 'get'
    })
}